﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class GetFeatureInfo
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class GetFeatureInfo
   ">
    <meta name="generator" content="docfx 2.40.12.0">
    
    <link rel="shortcut icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    <meta property="docfx:rel" content="../">
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../images/logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo">
  
  
  <h1 id="Mapsui_Desktop_Wms_GetFeatureInfo" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo" class="text-break">Class GetFeatureInfo
  </h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">GetFeatureInfo</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="Mapsui.Desktop.Wms.html">Mapsui.Desktop.Wms</a></h6>
  <h6><strong>Assembly</strong>: Mapsui.Desktop.dll</h6>
  <h5 id="Mapsui_Desktop_Wms_GetFeatureInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GetFeatureInfo : object</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Wms_GetFeatureInfo__ctor_Func_System_String_Task_Stream___.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Wms.GetFeatureInfo.%23ctor(Func%7BSystem.String%2CTask%7BStream%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Wms/GetFeatureInfo.cs/#L23">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Wms_GetFeatureInfo__ctor_" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.#ctor*"></a>
  <h4 id="Mapsui_Desktop_Wms_GetFeatureInfo__ctor_Func_System_String_Task_Stream___" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.#ctor(Func{System.String,Task{Stream}})">GetFeatureInfo(Func&lt;String, Task&lt;Stream&gt;&gt;)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public GetFeatureInfo(Func&lt;string, Task&lt;Stream&gt;&gt; getStreamAsync = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">Func</span>&lt;<span class="xref">System.String</span>, <span class="xref">Task</span>&lt;<span class="xref">Stream</span>&gt;&gt;</td>
        <td><span class="parametername">getStreamAsync</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Wms_GetFeatureInfo_Credentials.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Wms.GetFeatureInfo.Credentials%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Wms/GetFeatureInfo.cs/#L43">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Wms_GetFeatureInfo_Credentials_" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.Credentials*"></a>
  <h4 id="Mapsui_Desktop_Wms_GetFeatureInfo_Credentials" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.Credentials">Credentials</h4>
  <div class="markdown level1 summary"><p>Provides the base authentication interface for retrieving credentials for Web client authentication.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ICredentials Credentials { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">ICredentials</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Wms_GetFeatureInfo_ExtraParams.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Wms.GetFeatureInfo.ExtraParams%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Wms/GetFeatureInfo.cs/#L38">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Wms_GetFeatureInfo_ExtraParams_" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.ExtraParams*"></a>
  <h4 id="Mapsui_Desktop_Wms_GetFeatureInfo_ExtraParams" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.ExtraParams">ExtraParams</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Dictionary&lt;string, string&gt; ExtraParams { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">Dictionary</span>&lt;<span class="xref">System.String</span>, <span class="xref">System.String</span>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Wms_GetFeatureInfo_TimeOut.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Wms.GetFeatureInfo.TimeOut%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Wms/GetFeatureInfo.cs/#L32">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Wms_GetFeatureInfo_TimeOut_" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.TimeOut*"></a>
  <h4 id="Mapsui_Desktop_Wms_GetFeatureInfo_TimeOut" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.TimeOut">TimeOut</h4>
  <div class="markdown level1 summary"><p>Timeout of webrequest in milliseconds. Default is 7 seconds</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int TimeOut { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Wms_GetFeatureInfo_Request_System_String_System_String_System_String_System_String_System_String_System_Double_System_Double_System_Double_System_Double_System_Int32_System_Int32_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Wms.GetFeatureInfo.Request(System.String%2CSystem.String%2CSystem.String%2CSystem.String%2CSystem.String%2CSystem.Double%2CSystem.Double%2CSystem.Double%2CSystem.Double%2CSystem.Int32%2CSystem.Int32%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Wms/GetFeatureInfo.cs/#L61">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Wms_GetFeatureInfo_Request_" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.Request*"></a>
  <h4 id="Mapsui_Desktop_Wms_GetFeatureInfo_Request_System_String_System_String_System_String_System_String_System_String_System_Double_System_Double_System_Double_System_Double_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.Request(System.String,System.String,System.String,System.String,System.String,System.Double,System.Double,System.Double,System.Double,System.Int32,System.Int32,System.Int32,System.Int32)">Request(String, String, String, String, String, Double, Double, Double, Double, Int32, Int32, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Request FeatureInfo for a WMS Server</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Request(string baseUrl, string wmsVersion, string infoFormat, string srs, string layer, double extendXmin, double extendYmin, double extendXmax, double extendYmax, int x, int y, int mapWidth, int mapHeight)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">baseUrl</span></td>
        <td><p>Base URL of the WMS server</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">wmsVersion</span></td>
        <td><p>WMS Version</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">infoFormat</span></td>
        <td><p>Format of response (text/xml, text/plain, etc)</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">srs</span></td>
        <td><p>EPSG Code of the coordinate system</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">layer</span></td>
        <td><p>Layer to get FeatureInfo From</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">extendXmin</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">extendYmin</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">extendXmax</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">extendYmax</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">x</span></td>
        <td><p>Coordinate in pixels x</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">y</span></td>
        <td><p>Coordinate in pixels y</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">mapWidth</span></td>
        <td><p>Width of the map</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">mapHeight</span></td>
        <td><p>Height of the map</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Wms_GetFeatureInfo_IdentifyFailed.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Wms.GetFeatureInfo.IdentifyFailed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Wms/GetFeatureInfo.cs/#L20">View Source</a>
  </span>
  <h4 id="Mapsui_Desktop_Wms_GetFeatureInfo_IdentifyFailed" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.IdentifyFailed">IdentifyFailed</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event StatusEventHandler IdentifyFailed</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Desktop.Wms.StatusEventHandler.html">StatusEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Wms_GetFeatureInfo_IdentifyFinished.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Wms.GetFeatureInfo.IdentifyFinished%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Wms/GetFeatureInfo.cs/#L19">View Source</a>
  </span>
  <h4 id="Mapsui_Desktop_Wms_GetFeatureInfo_IdentifyFinished" data-uid="Mapsui.Desktop.Wms.GetFeatureInfo.IdentifyFinished">IdentifyFinished</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event StatusEventHandler IdentifyFinished</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Desktop.Wms.StatusEventHandler.html">StatusEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Wms_GetFeatureInfo.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Wms.GetFeatureInfo%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Wms/GetFeatureInfo.cs/#L14" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
